﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace kit206_A2.model
{
	
	public enum Category { All, Academic,Technical,Staff,Casual,Admin}
	public enum Availability { Teaching, Consulting, Free}
	public class staff
	{
		public int ID { get; set; }

		public string familyName { get; set; }

		public string givenName { get; set; }

		public string title { get; set; }

		public Campus campus { get; set; }

		public string room { get; set; }

		public string email { get; set; }

		public string phone { get; set; }

		public string photo { get; set; }

		public Category category { get; set; }

		public List<class_event> Consultations { get; set; }

		public List<unit_class> classeTeaching { get; set; }

		public List<unit> unitsTeaching { get; set; }
		public string get_fullName
		{
			get { return familyName + " " + givenName; }
		}

		public string get_fullName_title
		{
			get { return familyName + " " + givenName + "(" + title + ")"; }
		}

		public override string ToString()
		{
			//return "ID:"+ ID + "; Name:" + get_fullName() + "; At:" + campus + "; Position:" + category + "; Room:" + room + "; Email: "+ email +  "; phone_number :" + phone + "; photo:"+ photo ;
			return get_fullName_title;
		}



	}

	
}
